package com.concert.pojo;

import java.util.Date;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/12/6  9:53
 */
public class Concert {
    private Integer concertId;
    private String concertName;
    private String city;
    private double price;
    private int recommend;
    private Date startTime;
    private String address;

    public Integer getConcertId() {
        return concertId;
    }

    public void setConcertId(Integer concertId) {
        this.concertId = concertId;
    }

    public String getConcertName() {
        return concertName;
    }

    public void setConcertName(String concertName) {
        this.concertName = concertName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getRecommend() {
        return recommend;
    }

    public void setRecommend(int recommend) {
        this.recommend = recommend;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Concert() {
    }

    public Concert(Integer concertId, String concertName, String city, double price, int recommend, Date startTime, String address) {
        this.concertId = concertId;
        this.concertName = concertName;
        this.city = city;
        this.price = price;
        this.recommend = recommend;
        this.startTime = startTime;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Concert{" +
                "concertId=" + concertId +
                ", concertName='" + concertName + '\'' +
                ", city='" + city + '\'' +
                ", price=" + price +
                ", recommend=" + recommend +
                ", startTime=" + startTime +
                ", address='" + address + '\'' +
                '}';
    }
}
